//
//  ZDPictureView.h
//  OCSinaWeiBo
//
//  Created by Apple on 15/11/2.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ZDStatus;

@interface ZDPictureView : UICollectionView

@property (nonatomic, strong) ZDStatus *status;

/**
 *  根据配图数量 动态计算collectionView的size
 */
- (CGSize)calculatCollectionViewSize;

@end




/**
 *  自定义collectionCell
 */
@interface ZDPictureViewCell : UICollectionViewCell

@property (nonatomic, strong) NSURL *imageURL;

@property (nonatomic, strong) UIImageView *imageView;

@end